﻿using System;
using System.Collections.Generic;


namespace Model.Repositories.Interfaces
{
    public interface ICrud<T>
    {

        T GetById(long Id);
        void Save(T t);
        void Update(T t);
        void Delete(long Id);
        List<T> GetCollection();
    }
}
